import { createSSRApp } from "vue";
import App from "./App.vue";
// 导入Pinia
import { createPinia } from "pinia";
// pinia持久化插件
import { createUnistorage } from "pinia-plugin-unistorage";
export function createApp() {
  const app = createSSRApp(App);
  // 创建Pinia实例
const pinia = createPinia();
pinia.use(createUnistorage());
app.use(pinia);
  return {
    app,
  };
}
